Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add virt capacity benchmark test #180

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ygalblum
Copy link
Contributor

Type of change

  • New feature

Description

Run Virtualization with Storage Capacity Benchmark test

@ygalblum ygalblum requested review from a team as code owners January 28, 2025 17:58
@ygalblum ygalblum force-pushed the capacity-benchmark branch 2 times, most recently from 79662a2 to e1c8ba7 Compare January 31, 2025 16:25
@ygalblum ygalblum force-pushed the capacity-benchmark branch 4 times, most recently from 8388e87 to 68f1b43 Compare February 6, 2025 16:46
common.go Outdated
@@ -70,3 +90,175 @@ func GatherMetadata(wh *workloads.WorkloadHelper, alerting bool) error {
}
return nil
}

// GenerateSSHKeyPair generates an SSH key pair and saves them to the specified files
func generateSSHKeyPair(sshKeyPairPath string) (string, string, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this go into go-commons please? Looks like nice function to be reused across our tooling.

common.go Outdated
return getVolumeSnapshotClassNameForProvisioner(provisioner)
}

func virtctlExists() bool {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of the functions in this file seem to be commonly used across all the virtualization portifolio. Can we move all of them to go-commons please?

@ygalblum
Copy link
Contributor Author

I've updated the code. However, it now depends on changes made in https://github.com/cloud-bulldozer/go-commons/. Once the all changes are merged and the dependency is updated here, this code change will compile successfully

@ygalblum ygalblum force-pushed the capacity-benchmark branch 3 times, most recently from d512e42 to b6fd4ac Compare February 20, 2025 15:28
- name: create-vms
jobType: create
jobIterations: 1
qps: 20
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious why in the first job you have the CNV default of 5/10 for QPS/Burst -- but here and further down you default to 20/20?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH I didn't put too much thought into it. Especially since most of the jobs are pretty small. So, not sure it even matters. Which values would you recommend here?

@ygalblum
Copy link
Contributor Author

@vishnuchalla I've added nobs that allow skipping some checks and setting some values so that the test can pass with the CI cluster. Hopefully the test will pass in the CI as well (along with the checks I've added)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants